package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblAkcDifferentReport;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 爱库存-差异报表 Mapper 接口
 *
 * @author Ximi
 * @since 2020-06-30
 */
public interface TblAkcDifferentReportMapper extends BaseMapper {

    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     */
    public TblAkcDifferentReport getFoot(@Param("params") Map<String, Object> params);

    /**
     * 删除全部数据
     *
     * @return count of delete
     */
    public Integer deleteAll();

    /**
     * 通过活动ID删除数据
     *
     * @param actionId 活动ID
     * @return
     */
    public Integer deleteByActionId(@Param("actionId") String actionId);

}

